package com.xhai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhai.domain.entity.SysUserPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户岗位关联表 Mapper 接口
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Mapper
public interface SysUserPostMapper extends BaseMapper<SysUserPost> {
    /**
     * 新增用户岗位关联
     *
     * @param list 用户岗位关联列表
     * @return 新增数量
     */
    int batchInsert(List<SysUserPost> list);
}
